package com.xuecheng.api.cms;

import com.xuecheng.framework.domain.cms.CmsPage;
import com.xuecheng.framework.domain.cms.request.QueryPageRequest;
import com.xuecheng.framework.domain.cms.response.CmsPageResult;
import com.xuecheng.framework.domain.cms.response.CmsPostPageResult;
import com.xuecheng.framework.domain.system.SysDictionary;
import com.xuecheng.framework.model.response.QueryResponseResult;
import com.xuecheng.framework.model.response.ResponseResult;

public interface CmsPageControllerApi {
    public QueryResponseResult findList(int page, int size, QueryPageRequest queryPageRequest);

    public CmsPageResult add(CmsPage cmsPage);

    public CmsPage findByid(String id);

    public CmsPageResult edit(String id, CmsPage cmsPage);

    public ResponseResult delete(String id);

    public ResponseResult post(String pageId);

    //用于课程信息保存页面
    public CmsPageResult save(CmsPage cmsPage);

    //课程发布的接口
    public CmsPostPageResult postPageQuick(CmsPage cmsPage);

}